package com.chrelyonly.controller;

import com.chrelyonly.util.blade.Func;
import com.chrelyonly.util.myRes.AjaxJson;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @author chrelyonly
 */
@RestController
@RequestMapping("/up")
public class ApplyDefaultController {
    /**
     * wx模块默认页面
     */
    @RequestMapping("/")
    public AjaxJson upHolle() {
        System.out.println(Func.format(new Date(), "yyyy-MM-dd HH:mm:ss"));
        return AjaxJson.success("欢迎使用常用模块!");
    }

}
